package com.zkzx.common.freight.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 北京中科智兴物联科技有限公司 @版权所有
 *
 * @Author: zhaoyihe@zkraising.com
 * @Date: 2021/05/12/16:45
 * @Description:
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "OrderPayableVO ", description = "运输费用")
public class OrderPayableVO implements Serializable {

    /**
     * ID
     */
    @ApiModelProperty(value = "id", example = "10086")
    private Integer id;

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单id",name = "order_id",example = "10086")
    private Integer orderId;

    /**
     * 运费/元
     */
    @ApiModelProperty(value = "运费/元",example = "8848")
    private BigDecimal fare;

    /**
     * 留存运费比例
     */
    @ApiModelProperty(value = "留存运费比例",name = "keep_farepro_portion",example = "5")
    private String keepFareproPortion;

    /**
     * 留存运费 /元
     */
    @ApiModelProperty(value = "留存运费 /元",name = "keep_fare",example = "8848")
    private BigDecimal keepFare;

    /**
     * 总费用/元
     */
    @ApiModelProperty(value = "总费用/元",name = "total_cost",example = "8848")
    private BigDecimal totalCost;
}
